package com.example.easyexcel.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Builder;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户excel实体
 *
 * @author tu228
 */
@Data
@Builder
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class UserExcel implements Serializable {

    private static final long serialVersionUID = -5905730761779621234L;
    @ExcelProperty(value = {"用户信息", "部门"})
    private String dept;

    @ExcelProperty(value = {"用户信息", "部门描述"})
    private String deptDescription;

    @ExcelProperty(value = {"用户信息", "工资范围"})
    private String salaryRange;

    @ExcelProperty(value = {"用户信息", "工资"})
    private Double salary;

    @ExcelProperty(value = {"用户信息", "id"})
    private Long id;

    @ExcelProperty(value = {"用户信息", "姓名"})
    private String name;

    @ExcelProperty(value = {"用户信息", "生日"})
    private LocalDateTime birthday;

}

